<template>
  <div class="child1">
    <h1>我是Child1组件</h1>
    <br>
    <Grandson1/>
  </div>
</template>

<script>
  import Grandson1 from './Grandson1.vue'

  export default {
    name:'Child1',
    components:{Grandson1}
  }
</script>

<style>
  .child1 {
    background-color: orange;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px black;
  }
</style>